package com.woniu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniu.entity.CustomerInfos;
import com.woniu.mapper.CustomerInfosMapper;
import com.woniu.service.ICustomerInfosService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author Gapper
 * @since 2021-03-29
 */
@Service
@Transactional
public class CustomerInfosServiceImpl extends ServiceImpl<CustomerInfosMapper, CustomerInfos> implements ICustomerInfosService {
@Autowired
    private CustomerInfosMapper customerInfosMapper;

    @Override
    public List<CustomerInfos> selectAllCustomer() {
        List<CustomerInfos> customerInfosList = customerInfosMapper.selectAllCustomer();
        return customerInfosList;
    }
}
